﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true"
    CodeBehind="Default.aspx.cs" Inherits="WuxiWTO.Web.Default" %>

<%@ Register Src="~/UserControl/Search.ascx" TagName="search" TagPrefix="uc" %>
<%@ Register Src="~/UserControl/hotNews.ascx" TagName="hotnews" TagPrefix="uc" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
    <script type="text/javascript" src="Scripts/yu.js"></script>
    <script type="text/javascript" src="Scripts/tb.js"></script>
    <link href="Styles/slideAD.css" type="text/css" rel="Stylesheet" media="screen" />
    <script type="text/javascript" src="Scripts/rolltitle.js"></script>
    <script type="text/javascript">
        $(document.body).ready(function () {
            $("#RunRollTitle").RollTitle({ line: 1, speed: 300, timespan: 1000 });
        }); 

    </script>
</asp:Content>

<%--terry chen--%>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <asp:ValidationSummary ID="sum1" runat="server" DisplayMode="BulletList" HeaderText="以下项目为必填项:"
        ShowMessageBox="true" ShowSummary="false" />
    <div class="con_left">
        <div class="con_left_mod">
            <h2 class="con_left_title">
                <span class="left">用户登录</span>
            </h2>
            <div class="con_left_content" style="padding: 0px;">
                <asp:Panel ID="loginPanel" runat="server">
                    <table  style="height:100px;" class="login_tb1" cellspacing="0" cellpadding="0">
                        <tr>
                            <td align="right">
                                <label>
                                    用户名</label>
                            </td>
                            <td>
                                <asp:TextBox ID="txtUser" Width="150px" runat="server" />
                                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" CssClass="red" ControlToValidate="txtUser"
                                    runat="server" ErrorMessage="用户名必填" Display="None"></asp:RequiredFieldValidator>
                            </td>
                        </tr>
                        <tr>
                            <td align="right">
                                <label>
                                    密码</label>
                            </td>
                            <td>
                                <asp:TextBox ID="txtPassword" Width="150px" TextMode="Password" runat="server" />
                                <asp:RequiredFieldValidator ID="RequiredFieldValidator2" CssClass="red" ControlToValidate="txtPassword"
                                    runat="server" ErrorMessage="密码必填" Display="None"></asp:RequiredFieldValidator>
                            </td>
                        </tr>
                        <tr>
                            <td align="right">
                                &nbsp;
                            </td>
                            <td align="left">
                                <asp:Button ID="btnLogin" runat="server" CssClass="bt_login1" OnClick="btnLogin_Click" /><a href="RegisterORG.aspx" class="a_01">马上注册</a>
                            </td>
                        </tr>
                    </table>
                </asp:Panel>
                <asp:Panel ID="msgPanel" runat="server">
                  <table style="height:100px;" class="login_tb1" cellspacing="0" cellpadding="0">
                     <tr>
                       <td align="center">
                           <asp:Literal ID="loginStatus" Text="" runat="server" />
                       </td>
                       <td>
                        &nbsp;
                       </td>
                     </tr>
                  </table>
                </asp:Panel>
            </div>
        </div>
        <asp:Literal ID="leftModeArt" Text="" runat="server" />
        <div class="con_mod2">
            <h2 class="con_title2 con_left_tit">
                <span class="left_titBg">投资无锡</span></h2>
            <div class="con_left_touzi">
                <ul class="con_left_Tzlist">
                    <li><a href="touziwuxi.aspx?id=1">技术环境</a></li>
                    <li><a href="touziwuxi.aspx?id=2">开发园区</a></li>
                    <li><a href="touziwuxi.aspx?id=3">技术产业</a></li>
                    <li><a href="touziwuxi.aspx?id=4">高端服务</a></li>
                    <li><a href="touziwuxi.aspx?id=5">人才资源</a></li>
                    <li><a href="touziwuxi.aspx?id=6">基础设施</a></li>
                    <li><a href="touziwuxi.aspx?id=7">物流通关</a></li>
                    <li><a href="touziwuxi.aspx?id=8">人居环境</a></li>
                </ul>
                <p>
                    <a href="touziwuxi.aspx?id=9">
                        <img src="images/touziBtn.gif" /></a></p>
            </div>
        </div>
        <div class="con_mod2">
            <uc:search ID="search1" runat="server" />
        </div>
    </div>
    <div class="con_right">
        <div class="CenterNews">
            <h2 class="home_title1">
                <span class="left">
                    <asp:Literal ID="litRTtitle" Text="" runat="server" /></span><span class="right"><asp:HyperLink
                        ID="hyMoreRT" Text="更多&gt;&gt;" runat="server" /></span></h2>
            <div class="flash_adv">
                <div id="MainPromotionBanner">
                    <div id="SlidePlayer">
                        <ul class="Slides">
                            <asp:Repeater ID="rptImageNews" runat="server" OnItemDataBound="rptYoungImage_ItemDataBound">
                                <ItemTemplate>
                                    <li>
                                        <asp:HyperLink runat="server" ID="hyLink" EnableViewState="false">
                                            <asp:Image ID="imgAD" runat="server" EnableViewState="false" /></asp:HyperLink>
                                    </li>
                                </ItemTemplate>
                            </asp:Repeater>
                        </ul>
                    </div>
                </div>
            </div>
            <script type="text/javascript">
                TB.widget.SimpleSlide.decoration('SlidePlayer', { eventType: 'mouse', effect: 'scroll', autoPlayTimeout: 5 });
            </script>
            <div class="home_center">
                <ul class="home_list">
                    <asp:Repeater ID="rptDynamic" runat="server" EnableViewState="false">
                        <ItemTemplate>
                            <li><span class="left"><a href='articleDetails.aspx?aid=<%# Eval("article_id") %>'
                                title='<%#Eval("article_title") %>'>
                                <%# WutiWTO.Common.Utility.CutStringByLength(Eval("article_title").ToString(),28) %></a></span><span
                                    class="right"><%#Eval("update_date", "{0:yy-MM-dd}")%></span></li></ItemTemplate>
                    </asp:Repeater>
                </ul>
            </div>
        </div>
        <div class="flash_adv_mid">
            <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="695" height="112"
                id="FlashID2" title="flash">
                <param name="movie" value="images/003.swf" />
                <param name="quality" value="high" />
                <param name="wmode" value="opaque" />
                <param name="swfversion" value="8.0.35.0" />
                <!-- 此 param 标签提示使用 Flash Player 6.0 r65 和更高版本的用户下载最新版本的 Flash Player。如果您不想让用户看到该提示，请将其删除。 -->
                <param name="expressinstall" value="images/003.swf" />
                <param name="playcount" value="0">
                <!--控制重复次数: “x”为几重复播放几次; x=0，无限循环。-->
                <param name="autostart" value="1">
                <!--控制播放方式: x=1，打开网页自动播放; x=0，按播放键播放。-->
                <!-- 下一个对象标签用于非 IE 浏览器。所以使用 IECC 将其从 IE 隐藏。 -->
                <!--[if !IE]>-->
                <object type="application/x-shockwave-flash" data="images/003.swf" width="695" height="112">
                    <!--<![endif]-->
                    <param name="quality" value="high" />
                    <param name="wmode" value="opaque" />
                    <param name="swfversion" value="8.0.35.0" />
                    <param name="expressinstall" value="images/003.swf" />
                    <param name="playcount" value="0">
                    <!--控制重复次数: “x”为几重复播放几次; x=0，无限循环。-->
                    <param name="autostart" value="1">
                    <!--控制播放方式: x=1，打开网页自动播放; x=0，按播放键播放。-->
                    <!-- 浏览器将以下替代内容显示给使用 Flash Player 6.0 和更低版本的用户。 -->
                    <div>
                        <h4>
                            此页面上的内容需要较新版本的 Adobe Flash Player。</h4>
                        <p>
                            <a href="http://www.adobe.com/go/getflashplayer">
                                <img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif"
                                    alt="获取 Adobe Flash Player" width="112" height="33" /></a></p>
                    </div>
                    <!--[if !IE]>-->
                </object>
                <!--<![endif]-->
            </object>
        </div>
        <asp:Literal Text="" ID="litRightMiddleMode" runat="server" />
        <div class="flash_adv_mid">
            <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="695" height="112"
                id="Object1" title="flash">
                <param name="movie" value="images/001.swf" />
                <param name="quality" value="high" />
                <param name="wmode" value="opaque" />
                <param name="swfversion" value="8.0.35.0" />
                <!-- 此 param 标签提示使用 Flash Player 6.0 r65 和更高版本的用户下载最新版本的 Flash Player。如果您不想让用户看到该提示，请将其删除。 -->
                <param name="expressinstall" value="images/001.swf" />
                <param name="playcount" value="0">
                <!--控制重复次数: “x”为几重复播放几次; x=0，无限循环。-->
                <param name="autostart" value="1">
                <!--控制播放方式: x=1，打开网页自动播放; x=0，按播放键播放。-->
                <!-- 下一个对象标签用于非 IE 浏览器。所以使用 IECC 将其从 IE 隐藏。 -->
                <!--[if !IE]>-->
                <object type="application/x-shockwave-flash" data="images/001.swf" width="695" height="112">
                    <!--<![endif]-->
                    <param name="quality" value="high" />
                    <param name="wmode" value="opaque" />
                    <param name="swfversion" value="8.0.35.0" />
                    <param name="expressinstall" value="images/001.swf" />
                    <param name="playcount" value="0">
                    <!--控制重复次数: “x”为几重复播放几次; x=0，无限循环。-->
                    <param name="autostart" value="1">
                    <!--控制播放方式: x=1，打开网页自动播放; x=0，按播放键播放。-->
                    <!-- 浏览器将以下替代内容显示给使用 Flash Player 6.0 和更低版本的用户。 -->
                    <div>
                        <h4>
                            此页面上的内容需要较新版本的 Adobe Flash Player。</h4>
                        <p>
                            <a href="http://www.adobe.com/go/getflashplayer">
                                <img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif"
                                    alt="获取 Adobe Flash Player" width="112" height="33" /></a></p>
                    </div>
                    <!--[if !IE]>-->
                </object>
                <!--<![endif]-->
            </object>
        </div>
        <asp:Literal ID="litRightBottomLeft" Text="" runat="server" />
        <div id="tab" class="home_box right">
            <asp:Literal ID="litRightBottomRight" Text="" runat="server" />
        </div>
        <div class="clear">
        </div>
        <div class="home_box left">
            <h2 class="home_box_tit home_Contact">
                联系我们</h2>
            <div class="home_box_con1">
                <p class="ContactList">
                    综&nbsp;&nbsp;&nbsp;&nbsp;合&nbsp;&nbsp;&nbsp;部：0510-85617160 85617163</p>
                <p class="ContactList">
                    外企发展部：0510-85617179 85617152
                </p>
                <p class="ContactList">
                    投诉咨询部：0510-85617167 85617153</p>
                <p class="ContactList">
                    服务外包部：0510-85617159 85617151
                </p>
            </div>
        </div>
        <div class="home_box right">
            <h2 class="home_box_tit">
                世界<span class="fontRed fontBig">500强</span>在无锡</h2>
            <div class="home_box_con1">
                <ul class="home_list3" id="RunRollTitle">
                    <asp:Repeater ID="rptTopCompany" runat="server" EnableViewState="false">
                        <ItemTemplate>
                            <li><span class="right">
                                <%# Eval("country") %></span><%# Eval("company_name") %></li>
                        </ItemTemplate>
                    </asp:Repeater>
                </ul>
            </div>
        </div>
    </div>
    <script type="text/javascript">
        function changetab() {

            //var tabs = document.getElementById("tab").getElementsByTagName("span");
            var tabs = $("#tab > h2 > span");
            tabs.css("cursor", "pointer");
            tabs.click(function () {
                $(this).parent().find("span.Outsourcing1").removeClass("Outsourcing1").addClass("Outsourcing2");
                $(this).removeClass("Outsourcing2").addClass("Outsourcing1");

                var parentsEl = $(this).parents("#tab");
                parentsEl.find("div.ct").removeClass("ct").addClass("ot");
                var ary = parentsEl.find("h2 > span");
                parentsEl.find("div.home_box_con:eq(" + $.inArray(this, ary) + ")").addClass("ct").removeClass("ot");

                parentsEl.find("h2 > a.ct").removeClass("ct").addClass("ot");
                parentsEl.find("h2 > a:eq(" + $.inArray(this, ary) + ")").addClass("ct").removeClass("ot");
            });
        }

        window.onload = function () {
            changetab();
        }

    </script>
</asp:Content>
